<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<h1>插入信息</h1>

<div class="insertInfo" >
size:<input name="size" type="text"></br>
area:<input name="area" type="text"></br>
<button onclick="submit55()">Copy Text</button>
</div>

</body>
<script>

	
function submit55(){
	var data = {
		housekind:	$("input[name='size']").val(),
		housev:   $("input[name='area']").val()
	};
	$.post("save", data,
			   function(){
			     alert("dd"); // John
			     
			   }, "json");
	
	/* $.ajax({
		  type: 'POST',
		  url: "save",
		  data: data,
		  success: alert("aaaaaaaaaaaaaaaaaaa"),
		  dataType: "json"
		}); */
}
</script>
</html>